package [package].service;

import com.baomidou.mybatisplus.extension.service.IService;
import [path_1].[path_2].model.[path_3].dtos.[Table2]Dto;
import [path_1].[path_2].model.[path_3].pojos.[Table2];
import [path_1].[path_2].model.common.dtos.ResponseResult;

/**
 * @Description:
 * @Version: V1.0
 */
public interface [Table2]Service extends IService<[Table2]> {

    /**
     * 查询列表
     * @param dto
     * @return
     */
    public ResponseResult findPage([Table2]Dto dto);

    /**
     * 新增
     * @param [table2]
     * @return
     */
    public ResponseResult insert([Table2] [table2]);

    /**
     * 修改
     * @param [table2]
     * @return
     */
    public ResponseResult update([Table2] [table2]);

    /**
     * 删除
     * @param id
     * @return
     */
    public ResponseResult deleteById([keyType] [key2]);

}
